About 9194 letters

About 46 minutes

#CSS Common Properties

#Text Properties

PropertyDescription
colorSets the text color
font-familySets the font family
font-sizeSets the font size
font-weightSets the font weight
font-styleSets the font style (e.g., italic)
text-alignSets the text alignment
text-decorationSets text decoration (e.g., underline)
line-heightSets the line height
letter-spacingSets the spacing between characters
word-spacingSets the spacing between words
text-transformControls the case of the text
text-indentSets the indentation of the first line
text-shadowAdds shadow to the text

#Background Properties

PropertyDescription
background-colorSets the background color
background-imageSets the background image
background-repeatDefines how the background image is repeated
background-positionSets the position of the background image
background-attachmentDetermines if the background is fixed
background-sizeSets the size of the background image
background-clipDefines the painting area of the background
background-originDefines the positioning area of the background

#Box Model Properties

PropertyDescription
widthSets the width of an element
heightSets the height of an element
marginSets the outer margin
paddingSets the inner padding
borderSets the border
border-radiusSets the border radius (rounded corners)
box-shadowAdds shadow to the box
box-sizingDefines how the total size is calculated
overflowSets how content overflows the element

#Positioning Properties

PropertyDescription
positionSets the positioning method
topSets the top offset of a positioned element
rightSets the right offset
bottomSets the bottom offset
leftSets the left offset
z-indexSets the stacking order
floatFloats an element
clearClears floated elements

#Flexbox Layout Properties

PropertyDescription
displaySets the display mode
flex-directionSets the direction of the main axis
flex-wrapSets whether items should wrap
flex-flowShorthand for flex-direction and flex-wrap
justify-contentAligns items along the main axis
align-itemsAligns items along the cross axis
align-contentAligns multiple lines along the cross axis
orderSets the order of items
flex-growSets the grow factor
flex-shrinkSets the shrink factor
flex-basisSets the initial main size
flexShorthand for flex-grow, flex-shrink, and flex-basis
align-selfAligns a single item independently

#Grid Layout Properties

PropertyDescription
grid-template-columnsDefines the column track sizes
grid-template-rowsDefines the row track sizes
grid-template-areasDefines named grid areas
grid-templateShorthand for the above three
grid-column-gapSets the gap between columns
grid-row-gapSets the gap between rows
grid-gapShorthand for row and column gaps
justify-itemsAligns content horizontally in cells
align-itemsAligns content vertically in cells
place-itemsShorthand for align-items and justify-items
justify-contentAligns the entire grid horizontally
align-contentAligns the entire grid vertically
place-contentShorthand for align-content and justify-content
grid-auto-columnsSets size for implicitly created columns
grid-auto-rowsSets size for implicitly created rows
grid-auto-flowControls auto-placement algorithm
gridShorthand for multiple grid properties

#Transitions and Animations

PropertyDescription
transitionSets transition effects
transition-propertySpecifies which property to animate
transition-durationSets the duration of the transition
transition-timing-functionSets the timing curve
transition-delaySets the delay before transition starts
animationSets animation
animation-nameSets the animation name
animation-durationSets animation duration
animation-timing-functionSets animation timing curve
animation-delaySets animation delay
animation-iteration-countSets how many times animation runs
animation-directionSets the direction of animation
animation-fill-modeSets how styles apply before/after animation
animation-play-stateSets whether the animation is running or paused

#Transform Properties

PropertyDescription
transformApplies 2D or 3D transformations
transform-originSets the origin of the transform
transform-stylePreserves 3D position of child elements
perspectiveSets the perspective view for 3D elements
perspective-originSets the base point of the perspective
backface-visibilityDefines whether the back face is visible

#Miscellaneous Properties

PropertyDescription
opacitySets the transparency level
visibilitySets the visibility of the element
cursorSets the mouse cursor style
clipClips an absolutely positioned element
clip-pathDefines a clipping path for the element
filterApplies visual effects
mix-blend-modeSets how content blends with background
object-fitDefines how content fits into a container
object-positionSets content position inside container
resizeAllows the element to be resizable
user-selectControls text selection by user
pointer-eventsDefines how the element reacts to pointer events

Created in 5/27/2025

Updated in 5/27/2025